package com.bestcem.xm.om.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserSubmodule)实体类
 *
 * @author makejava
 * @since 2022-04-02 17:32:00
 */
@NoArgsConstructor
@Data
public class UserSubmodule implements Serializable {
    private static final long serialVersionUID = 749197539789444176L;

    private String id;

    private Date createdDt;

    private Date updatedDt;

    private String createdId;

    private String updatedId;

    private Integer versionId;

    private Integer deleted;
    /**
     * 模块编号
     */
    private String code;
    /**
     * 模块名称
     */
    private String name;
    /**
     * 父级模块ID
     */
    private String parentModuleId;
    /**
     * 层级
     */
    private Integer level;

    public UserSubmodule(String code, String name) {
        this.code = code;
        this.name = name;
    }

}

